/*
 * @Date: 2024-02-28 14:46:23
 * @LastEditors: lyx
 * @LastEditTime: 2024-03-13 11:20:16
 * @FilePath: \taro-template3\src\app.config.ts
 * @Description: 
 */
export default defineAppConfig({
  pages: ["pages/index/index"],
  subpackages: [
    {
      root: "packageA",
      pages: [
        "pages/index/index",
        "pages/home/index",
        "pages/personal/index",
        "pages/setting/index",
        "pages/settingDialogue/index",
        "pages/settingVoicePack/index",
        "pages/settingAboutUs/index",
      ],
      // independent: true, // 独立分包
    },
    {
      root: "sub_common",
      pages: ["pages/auth/index", "pages/auth/wechat-mini-program/index"],
    },
  ],

  lazyCodeLoading: "requiredComponents",
  window: {
    navigationStyle: "custom",
  },
  // usingComponents: {
  //   wemark: "./components/wemark/wemark",
  // },
  // 授权信息描述
  permission: {
    // 定位
    // "scope.userLocation": {
    //   desc: "Sup 5T 小程序想要获取你的地理位置信息",
    // },
  },
  plugins: {
    WechatSI: {
      version: "0.3.5",
      provider: "wx069ba97219f66d99",
    },
  },
});
